Part Number Hot Search : 
26S331C HIN238CP NE555 C101MPD D2011 X183BK 1803DFH KP464
Product Description
Full Text Search
 

To Download MB941 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  m b 9 41 lga775 core ? 2 duo intel ? g41 chipset micro - atx motherboard users manual version 1. 0 free datasheet http://www.0pdf.com
acknowledgments ami is a registered trademark of american megatrends, inc. ps/2 is a trademark of international business machines corporation. intel is a trademark or registered trademark of intel corporation . microsoft windows is a registered trademark of microsoft corporation. winbond is a registered trademark of winbond electronics corporation. all other product names or trademarks are properties of thei r respective owners. free datasheet http://www.0pdf.com
MB941 users manual iii table of contents introduction ................................ ...................... 1 checklist ................................ ................................ ............. 1 product description ................................ ............................ 2 specif ications ................................ ................................ ..... 3 board dimensions ................................ .............................. 4 installations ................................ ...................... 5 installing the cpu ................................ .............................. 6 atx power installation ................................ ...................... 6 installing the memory ................................ ......................... 7 setting the jumpers ................................ ............................. 8 connectors on MB941 ................................ ..................... 11 bios setup ................................ ....................... 22 drivers installation ................................ ...... 44 intel chipset software installation utility ......................... 45 intel g41 chipset family graphics driver installation ..... 48 realtek high definition audio driver installation ........... 51 realtek lan controller drivers installation .................... 53 appendix ................................ ........................... 55 a. i/o port address map ................................ .................. 55 b. interrupt request lines (irq) ................................ ...... 56 c. watchdog timer configuration ................................ ... 57 d. digital i/o sample code ................................ ............. 62 free datasheet http://www.0pdf.com
iv MB941 users manual this page is intentionally left blank. free datasheet http://www.0pdf.com
introduction MB941 users manual 1 introduction checklist your MB941 core 2 duo motherboard package should include the items listed below: ? the MB941 mothe rboard ? this users m anual ? 1x sata cable (sata - 5) ? 1x com port cable (pk1 - 56) ? 1x usb cable (usb2 - 9) ? 1 x dvd co ntaining the following: ? chipset drivers ? flash memory utility remarks: pk1 - 20b dual - port com cable is optional. free datasheet http://www.0pdf.com
installations 2 MB941 users manual product description t he MB941 m i cro - a tx motherboard is designed for either the intel ? core ? 2 duo or core ? 2 quad processors of up to 1 333 mhz fsb. it is based on the intel g41 express chipset and it comes with two dual - channel ddr 3 memory slots and 8 gb memory capacity for faster system re sponsiveness and support of 64 - bit computing. dual independent display comes to life with the onboard intel ? g41 integrated graphics with crt. lan functionality is supported with two gigabit ethernet controllers. MB941 is supports high - end features inc luding high definition audio, eight fast usb ports, four sataii , watchdog timer, digital i/o and four serial ports. board dimensions are 244mm by 244mm. MB941 features ? supports intel? core?2 quad / core?2 duo / pentium? dual core/ celeron? processors ? 800mhz/1066mhz/1333mhz fsb ? ddr3 dimm x2, max. 8gb ? single gigabit lan ? integrated g41 vga for crt ? 8 x usb 2.0, 4x sata ii, 4 x com ? hd audio, watchdog timer, 2 x pci , 1x pci - e x1, 1x pci - e x16. free datasheet http://www.0pdf.com
introduction MB941 users manual 3 specifications product m b941 form factor micro - a tx cpu type lga775 soc ket for intel? core?2 quad / intel? core?2 duo / celeron? processors 800/1066/1333mhz fsb (45nm/65nm technology) green /apm apm1.2 bios ami bios, support acpi function chipset intel? g41 (82g41) express gmch: 1254 fcbga (25w) intel ? ich7 (82801gb): 652 bga (3.3w) memory slot 240 dimm x 2 (w/o ecc), for ddr3 - 1066 / ddr3 - 800 mhz max. 4gb, dual channel vga intel ? g41 integrated graphics controller (gma x4500) - support dx10 and opengl2.1 - d ual independent display available through on - board vga - and dvi - d (via ibp192 on pcie x16 s lot) ~ optional lan realtek rtl8111e pci - e gigabit lan controller x 2 usb ich 7 built - in usb 2.0 host controller, support 8 ports - 4 ports on edge connectors - 4 ports from pin headers serial ata ports ich 7 built - in sata controller, supports 4 ports - sata ii (3.0 gb/s) compact flash slot ich 7 built - in one channel udma 33/66/100, for cf type ii ( on c omponent side) audio intel ich 7 built - in 7.1ch hd audio controller w/ realtek alc 888 codec - edge connector ( 6 audio jacks ) lpc i/o winbond w83627 u hg : - com1 (rs232/422/485), com2 (rs232) - com3 (rs232), com4 (rs232) [ with pin - 9 with power for 4 ports (500 ma for each port) ] - cpu fan connector supports 4 - wire fan with pwm control - system fan connector x1 dc fan control - system fan connector x1 w/o control - support s two thermal sensor (cpu + on - board) - voltage monitoring for vcc (processor), 3.3v, 5v, and 12v - hardware monitor (2 thermal inputs, 4 voltage monitor inputs, vid0 - 4 & 1 x f an h eader) digital io 4 in & 4 out expansion slots pci - express (16x) slot x 1 pc i - express(1x) slot x1 pci slot x 2 ibase proprietary lpc port 2 x 8 pins header x 1 for optional features: - id395 - r for tpm 1.2 ~ optional (custom bios needed to support this function) - id394 - r for 4 additional serial ports ~ optional (custom bios needed to support this function) edge connector ps/2 kb/ms , com1, crt, lpt, hd audio rj45 + dual usb stack connector x 2 for lan1 ~2 & usb1~ 4 on board header/ connector standard sata (7 - pin shrouded vertical) connector x4 2x 5 - pin header x 2 for usb 5 ~8 , 2x5 - pi n df11 x 1 for com2 (rs232) 2x 10 - pin df11 x 1 for com 3~4 (rs232) , 2x5 - pin header x1 for digital i/o 4 - pins header x1 for cpu fan & 3 - pim header s x 2 for system fan 2x8 - pin box header for power switch/power led/hdd led/reset switch watchdog timer yes (2 56 segments, 0, 1, 2255 sec/min) power connector atx 1 (2 4 - pin connector for system ) atx_12 (8 - pin connector for cpu operating voltage) board size 244 mm x 244 mm free datasheet http://www.0pdf.com
installations 4 MB941 users manual board dimensions free datasheet http://www.0pdf.com
installati ons MB941 users manual 5 installations this section provides information on how to use t he jumpers and connectors on the MB941 in order to set up a workable system. the topics covered are: installing the cpu ................................ ................................ ................ 6 atx power installation ................................ ................................ ....... 6 installing the memory ................................ ................................ .......... 7 setting the jumpers ................................ ................................ .............. 8 connectors on MB941 ................................ ................................ ....... 11 free datasheet http://www.0pdf.com
installations 6 MB941 users manual installing the cpu the MB941 motherboard supports a n lga 775 processor socket for intel? core 2 duo processors. the lga 775 processor sock et comes with a lever to secure the processor. refer to the pictures below, from left to right, on how to place the processor into the cpu socket. please note that the cover of the lga775 socket must always be installed during transport to avoid damage to the socket. atx power installation the system power is provided to the motherboard with the atx1 and atx2 power connectors. atx1 is a 24 - pin power connector and atx 2 is a 8 - pin 12v power connector. the 24 - pin power connec tor can to be connected to a standard 20 - pin atx power connector in a standard atx power supply (min. 400watt). note: the power supply 5vsb voltage must be at least 2a. free datasheet http://www.0pdf.com
installati ons MB941 users manual 7 installing the memory the MB941 motherboard supports two ddr 3 memory sockets for a m aximum total memory of 8 gb. it supports ddr3 800/1066mhz. basically, the system memory interface has the following features: supports two 64 - bit wide ddr data channels available bandwidth up to 6.4gb/s (ddr3 1066) for two - channel mode. supports 512mb, 1 gb, 2gb ddr3 technologies. supports only x8, x16, ddr3 devices with four banks supports only unbuffered dimms supports opportunistic refresh up to 32 simultaneously open pages (four per row, four rows maximum ) free datasheet http://www.0pdf.com
installations 8 MB941 users manual setting the jumpers jumpers are used on th e motherboard are used to select various settings and features according to your needs and applications. contact your supplier if you have doubts about the best configuration for your needs. the following lists the connectors a nd their respective functions . jumper locations on MB941 ................................ ............................... 9 jp 2 , jp 1, jp7, jp6 : com 1/2/ 3/4 rs232 +5v/+12v power setting .... 10 jp 3 , jp 4 , jp 5 : rs232/422/485 (com 1 ) selection .............................. 10 jp 8 : clear cmos content s ................................ ............................... 10 free datasheet http://www.0pdf.com
installati ons MB941 users manual 9 jumper locations on MB941 jp 2 , jp 1, jp7, jp6 : com 1/2/ 3/4 rs232 +5v/+12v power setting jp 3 , jp 4 , jp 5 : rs232/422/485 (com 1 ) selection jp 8 : clear cmos contents ddr 2 ddr 1 free datasheet http://www.0pdf.com
installations 10 MB941 users manual jp2, jp1, jp7 , jp6 : com1/2/3/4 rs232 +5v/+12v power setting jp4/ jp 6 setting function pin 1 - 2 short/closed +12v pin 3 - 4 short/closed normal pin 5 - 6 short/closed +5v jp 3 , jp 4 , jp 5 : rs232/422/485 (com 1 ) selection com 1 is selectable for rs232, rs - 422 and rs - 485. com 1 function rs - 232 rs - 422 rs - 485 jumper setting (pin closed) jp 3 : 1 - 2 jp 4 : 3 - 5 & 4 - 6 jp 5 : 3 - 5 & 4 - 6 jp 3 : 3 - 4 jp 4 : 1 - 3 & 2 - 4 jp 5 : 1 - 3 & 2 - 4 jp 3 : 5 - 6 jp 4 : 1 - 3 & 2 - 4 jp 5 : 1 - 3 & 2 - 4 jp8 : clear cmos contents use jp8 , a 3 - pin header, to clear the cmos contents. note that the atx - power connector should be disconnected from the motherboard before clearing cmos. jp8 setting function pin 1 - 2 short/closed normal pin 2 - 3 short/ closed clear cmos free datasheet http://www.0pdf.com
installati ons MB941 users manual 11 connectors on MB941 the connectors on MB941 allow you to connect external devices such as keyboard, floppy disk drives, hard disk drives, printers, etc. the following table lists the connectors on MB941 and their respective functio ns. atx1: 24 - pin atx power connector ................................ ............... 13 atx2: atx 12v power connector ................................ ................... 13 ddriii1: channel a ddr3 socket ................................ ................... 13 ddriii2: channel b ddr3 socket ................................ ................... 13 fan2: cpu fan power connector ................................ .................... 13 fan1: system fan1 power connector ................................ ............... 13 fan3: system fan2 power connector ................................ ............... 15 cn1: ps/2 keyboard and ps/2 mouse connectors ............................. 15 cn2: com1 rs232/rs422/rs485 connector ................................ .. 15 cn3: parallel port connector ................................ ............................. 16 cn4: vga crt connector ................................ ............................... 16 cn5: audio connector ................................ ................................ ...... 17 cn6: gigabit rj - 45 &usb 0/1 connector ................................ ......... 17 cn7: gigabit rj - 45 &usb 2/3 connector ................................ ......... 17 cn8, cn9, cn10, cn11: sata hdd connectors ........................... 17 j1: com2/rs232 serial port ................................ ............................. 17 j2: for lpc i/f adaptor card ................................ ........................... 17 j3: digital i/o connector (4 in, 4 out) ................................ ................ 18 j4: com3, com4 serial port (df11 connector) .............................. 18 j5: compact flash socket ................................ ................................ .. 18 j6: audio cd - in connector ................................ ............................... 18 j7: audio front header ................................ ................................ ..... 19 j8: system function connector ................................ .......................... 19 j9: usb4/usb5 connector ................................ ............................... 21 j10: usb6/usb7 connector ................................ .............................. 21 j11: spi debug tools port (factory use only) ................................ .......... 21 pci1, pci2: pci slot ................................ ................................ ......... 21 pcie1: x16 pci express slot ................................ ............................ 21 pcie2: x1 pci express slot ................................ .............................. 21 free datasheet http://www.0pdf.com
installations 12 MB941 users manual c onnector locations on MB941 atx 1 : 24 - pin atx power connector atx 2 : atx 12v power connector ddriii1: channel a ddr3 socket ddriii2: ch annel b ddr3 socket fan 2 : cpu fan power connector fan1: s ystem fan1 power connector fan 3 : system fan2 power connector cn1: ps/2 keyboard and ps/2 mouse connectors cn 2 : serial ports(com1) cn3: parallel port connector cn4: vga crt connector cn5: audio connec tor cn 6 : gbe rj - 45 and usb 0 / 1 connector cn7: gbe rj - 45 and usb2/3 connector cn11, cn9, cn10 , cn8 : sata0/1 /2/3 connector j 1 : com2/rs232 serial port (df11 connector) j 2 : for lpc i/f adaptor card j 3 : digital i/o connector (4 in, 4 out) j 4 : com3, com4 serial p ort (df11 connector) j 5 : compact flash connector j 6 : audio cd - in header j 7 : audio front header j 8 : system function connector j 9, j 10: usb 4/5 /6/7 connector j 11 : spi debug tools port (factory use only) pci1 , pci2 : pci slot pcie1: x1 6 pci express slot pcie 2 : x1 pci express slot ddr 2 ddr 1 free datasheet http://www.0pdf.com
installati ons MB941 users manual 13 atx1: 24 - pin atx power connector signal name pin # pin # signal name 3.3v 13 1 3.3v - 12v 14 2 3.3v ground 15 3 ground ps - on 16 4 +5v ground 17 5 ground ground 18 6 +5v ground 19 7 ground - 5v 20 8 power good +5v 21 9 5vsb +5v 22 10 +12v +5v 23 11 +12v ground 24 12 +3.3v atx2: atx 12v power connector this connector supplies the cpu operati ng voltage . signal name pin # pin # signal name +12v 5 1 ground +12v 6 2 ground + 12v 7 3 ground +12v 8 4 ground ddriii1: channel a ddr3 socket ddriii2: channel b ddr3 socket fan2 : cpu fan power connector pin # signal name 1 ground 2 +12v 3 rotation detection 4 control fan1 : system fan 1 power connector pin # signa l name 1 ground 2 +12v free datasheet http://www.0pdf.com
installations 14 MB941 users manual 3 rotation detection free datasheet http://www.0pdf.com
installati ons MB941 users manual 15 fan3 : system f an 2 power connector cn1 : ps/2 keyboard and ps/2 mouse connectors mouse (top) keyboard (bottom) keyboard signal pin # mouse signal keyboard data 1 mouse data n.c. 2 n.c. gnd 3 gnd 5v 4 5v keyboard clock 5 mouse clock n.c. 6 n.c. cn2: com1 rs232/rs422/rs485 connector [ pin # signal name rs - 232 r2 - 422 rs - 485 1 dcd tx - data - 2 rx tx+ data+ 3 tx rx+ nc 4 dtr rx - nc 5 ground ground ground 6 dsr nc nc 7 rts nc nc 8 cts nc nc 9 ri nc nc 10 nc nc nc pin # signal name 1 ground 2 +12v 3 nc free datasheet http://www.0pdf.com
installations 16 MB941 users manual cn3 : parallel port connector cn3 is a db - 25 external connector on top of the vga and serial ports. cn 3 parallel port signal name pin # pin # signal name line printer strobe 1 14 autofeed pd0, parallel data 0 2 15 error pd1, parallel data 1 3 16 initialize pd2, parallel data 2 4 17 s lin pd3, parallel data 3 5 18 ground pd4, parallel data 4 6 19 ground pd5, parallel data 5 7 20 ground pd6, parallel data 6 8 21 ground pd7, parallel data 7 9 22 ground ack, acknowledge 10 23 ground busy 11 24 ground paper empty 12 25 ground select 13 n/a n/a cn4 : vga crt connector cn4 is a db - 15 vga c onnector. the following table shows the pin - out assignments of this connector. signal name pin # pin # signal name red 1 2 green blue 3 4 n.c. gnd 5 6 gnd gnd 7 8 gnd vcc 9 10 gnd n.c. 11 12 ddcdata hsync 1 3 14 vsync ddcclk 15 free datasheet http://www.0pdf.com
installati ons MB941 users manual 17 cn5: audio connector cn6: gigabit rj - 45 &usb 0/1 connector cn7: gigabit rj - 45 &usb 2/3 connector cn8, cn9, cn10, cn11: sata hdd connectors pin # signal name 1 gr ound 2 tx+ 3 tx - 4 ground 5 rx - 6 rx+ 7 ground j1: com2/rs232 serial port signal name pin # pin # signal name dcd, data carrier detect 1 2 rxd, receive data txd, transmit data 3 4 dtr, data terminal ready gnd, ground 5 6 dsr, data se t ready rts, request to send 7 8 cts, clear to send ri, ring indicator 9 10 not used j 2 : f or lpc i/f adaptor card free datasheet http://www.0pdf.com
installations 18 MB941 users manual j3 : digital i/o connector (4 in, 4 out) j3 supports ttl levels and is used to control external devices requiring on/off circuitry. signal name pin # pin # signal name ground 1 2 +5v out3 3 4 out1 out2 5 6 out0 in3 7 8 in1 in2 9 10 in0 j 4 : com3, com4 serial port (df11 connector ) signal name pin # pin # signal name dsr3 2 1 dcd3 rts3 4 3 rxd3 cts3 6 5 txd3 ri3 8 7 dtr3 nc 10 9 ground dsr4 12 11 dcd4 rts4 14 13 rxd4 cts4 16 15 txd4 ri4 18 17 dtr4 nc 20 19 ground j5: compact flash socket j 6 : audio cd - in connector pin # signal name 1 cd audio l 2 ground 3 ground 4 cd audio r free datasheet http://www.0pdf.com
installati ons MB941 users manual 19 j7 : audio front header signal name pin # pin # signal name mic2_l 1 2 ground mic2_r 3 4 presence# line2_l 5 6 mic2_id sense 7 8 nc line2_r 9 10 line2_id j 8 : system function connector j 8 provides connectors for system indicators that provide light indication of the computer activities and switches to change the computer status. j 8 is a 20 - pin header that provides interfaces for the following functions. hard disk drive led reset swit ch not defined atx power on switch not defined power led speaker speaker: pins 1 - 4 this connector provides an interface to a speaker for audio tone generation. an 8 - ohm speaker is recommended. pin # signal name 1 speaker o ut 2 no connect 3 ground 4 +5v free datasheet http://www.0pdf.com
installations 20 MB941 users manual power led: pins 11 - 15 the power led indicates the status of the main power switch. pin # signal name 11 power led 12 no connect 13 ground 14 no connect 15 ground atx power on switch: pins 7 an d 17 this 2 - pin connector is an atx power supply on/off switch on the system that connects to the power switch on the case. when pressed, the power switch will force the system to power on. when pressed again, it will force the system to power off. reset switch: pins 9 and 19 the reset switch allows the user to reset the system without turning the main power switch off and then on again. orientation is not required when making a connection to this header. hard disk drive led connector: pins 1 0 and 20 this connector connects to the hard drive activity led on control panel. this led will flash when the hdd is being accessed. pin # signal name 10 hdd active 20 5v free datasheet http://www.0pdf.com
installati ons MB941 users manual 21 j9 : usb 4/usb5 connector signal name pi n pin signal name vcc 1 2 vcc d - 3 4 d - d+ 5 6 d+ ground 7 8 ground protect pin 9 10 nc j10 : usb 6/usb7 connector signal name pin pin signal name vcc 1 2 vcc d - 3 4 d - d+ 5 6 d+ ground 7 8 ground prote ct pin 9 10 nc j 11: spi debug tools port (factory use only) pci1, pci2: pci slot pcie1: x16 pci express slot pcie2: x1 pci express slot free datasheet http://www.0pdf.com
bios setup 22 MB941 users manual bios setup this chapter describes the different settings available in the ami bios that comes with the board . the topics covered in this chapter are as follows: bios introduction ................................ ................................ ............. 23 bios setup ................................ ................................ ....................... 23 main bios setup ................................ ................................ .............. 24 advanced settings ................................ ................................ ............. 25 pcipnp settings ................................ ................................ ................ 34 boot settings ................................ ................................ ..................... 36 security settings ................................ ................................ ................ 38 advanced chipset settings ................................ ................................ . 39 exit setup ................................ ................................ .......................... 43 free datasheet http://www.0pdf.com
bios setup MB941 users manual 23 bios introd uction the bios (basic input/output system) installed in your computer systems rom supports intel processors. the bios provides critical low - level support for a standard device such as disk drives, serial ports and parallel ports. it also adds virus and p assword protection as well as special support for detailed fine - tuning of the chipset controlling the entire system. bios setup the bios provides a setup utility program for specifying the system configurations and settings. the bios rom of the system sto res the setup utility. when you turn on the computer, the bios is immediately activated. pressing the key immediately allows you to enter the setup utility. if you are a little bit late pressing the key, post (power on self test) will continue with its test routines, thus preventing you from invoking the setup. if you still wish to enter setup, restart the system by pressing the reset button or simultaneously pressing the , and keys. you can also restart by turning the sys tem off and back on again. the following message will appear on the screen: press to enter setup in general, you press the arrow keys to highlight items, to select, the and keys to change entries, for help and t o quit. when you enter the setup utility, the main menu screen will appear on the screen. the main menu allows you to select from various setup functions and exit choices. free datasheet http://www.0pdf.com
bios setup 24 MB941 users manual main bios setup this setup allows you to view processor configuration used in y our computer system and set the system time and date. bios setup utility main advanced pcipnp boot security chipset exit system overview use[enter], [tab] or [shift - tab] to select a field. use [+] or [ - ] to configure system time. < - select scre en select item + - change field tab select field f1 general help f10 save and exit esc exit processor intel(r) core(tm) 2 cpu 6400 @ 2.13ghz speed : 2133mhz count : 1 system memory size : 2014 mb system time [02:29:50 ] syst em date [fri 01/02/2009] note : if the system cannot boot after making and saving system changes with setup, the ami bios supports an override to the cmos settings that resets your system to its default. warning: it is strongly r ecommended that you avoid making any changes to the chipset defaults. these defaults have been carefully chosen by both ami and your system manufacturer to provide the absolute maximum performance and reliability. changing the defaults could cause the syst em to become unstable and crash in some cases. free datasheet http://www.0pdf.com
bios setup MB941 users manual 25 advanced settings bios setup utility main advanced pcipnp boot security chipset exit advanced settings configure cpu. < - select screen select item + - change field tab select field f1 gen eral help f10 save and exit esc exit warning: setting wrong values in below sections may cause system to malfunction. ? cpu configurations ? ide configuration ? superio configuration ? hardware health confguration ? acpi configuration ? apm configuration ? eup power saving controller ? mps configuration ? smbios configuration ? usb configuration the advanced bios settings contains the following sections: ? cpu configurations ? ide configuration ? superio configuration ? hardware health confguration ? acpi configuration ? apm configuration ? eup power saving controller ? mps configuration ? smbios configuration ? usb configuration the fields in each section are shown in the following pages, as seen in the computer screen. please note that setting the wrong values may cause the system to malfunction. if unsure, please contact technical support of your supplier. free datasheet http://www.0pdf.com
bios setup 26 MB941 users manual bios setup utility main advanced pcipnp boot security chipset exit configure adv anced cpu settings configure cpu. < - select screen select item + - change field tab select field f1 general help f10 save and exit esc exit manufacturer: intel intel ? core(tm)2 duo cpu 6400 @ 2.13ghz frequency : 2.13ghz fsb speed : 1068mhz cache l1 : 64 kb cache l2 : 2048 kb ratio actu al value: 8 max cpu id value limit intel(r) virtualization tech [disabled] [enabled] execute - disabled bit capability [enabled] core multi - processing [enabled] peci [enabled] the cpu configuration menu shows the following cpu details: m anufacturer: the name of the cpu manufacturer brand string: the brand name of the cpu being used frequency: the cpu processing speed fsb speed: the fsb speed cache l1: the cpu l1 cache size cache l2: the cpu l2 cache free datasheet http://www.0pdf.com
bios setup MB941 users manual 27 bios setup utility main advan ced pcipnp boot security chipset exit ide configuration options: disabled compatible enhanced < - select screen select item + - change field tab select field f1 general help f10 save and exit esc exit ata/ide configuration [compatible] legac y ide channels [sata pri, pata sec] ? primary ide master : [not detected] ? primary slave master : [not detected] ? secondary ide master : [hitachi hds72] ? secondary ide slave : [not detected] ide detect time out (sec) [35] the ide configuration menu is used to change and/or set the configuration of the ide devices installed in the sy stem . bios setup utility main advanced pcipnp boot security chipset exit configure win627uhg super io chipset < - select screen select item + - change field tab select field f1 general help f10 save and exit esc exit serial port1 address [3f8/irq4] serial port2 address serial port2 mode serial port3 address serial port3 irq select serial port4 address serial port4 irq s elect parallel port address parallel port mode parallel port irq [2f8/irq3] [normal] [3e8] [irq11] [2e8] [irq10] [378] [normal] [irq7] restore on ac power loss [power off] onboard serial port /parallel port these fields allow you t o select the onboard serial ports and their addresses. the default values for these ports are: serial port 1 3f8 /irq4 serial port 2 2f8/ irq3 serial port 3 3e0 /irq 10 serial port 4 disabled parallel port 378 /irq 7 free datasheet http://www.0pdf.com
bios setup 28 MB941 users manual parallel port mode this field al lows you to determine parallel port mode function. spp standard printer port epp enhanced parallel port ecp extended capabilities port ecp +epp combination of ecp and epp capabilities normal normal function restore on ac power loss this field sets the system power status whether on or off when power returns to the system from a power failure situation. free datasheet http://www.0pdf.com
bios setup MB941 users manual 29 bios setup utility main advanced pcipnp boot security chipset exit hardware health configuration c onfigure cpu. < - select screen select item + - change field tab select field f1 general help f10 save and exit esc exit system temperature :35 c/95 f cpu temperature :34 c/93 f vtin temperature :37 c/98 f : cpufan0 speed :2280 rpm vcore(v) +5vs : 1.296 v : 5.304 v +3sv 12v :3.178 v :1 1 . 904 v 3.3v 1.5v : 3.360 v : 1.552v vbat (v) :3.21 v sysfan mode setting system pwm control cpufan0 mode setting cpufan0 pwm control [manual mode] [256] [manual mod e] [256] acpi shutdown temperature [disabled] the hardware health configuration menu is used to show the operating temperature, fan speeds and system voltages. acpi shutdown temperature the system will shut down automatically under os with acpi mode, when the cpu temperature reaches the configured temperature. bios setup utility main advanced pcipnp boot security chipset exit acpi settings general acpi configuration settings < - select screen select item + - change field tab select f ield f1 general help f10 save and exit esc exit ? free datasheet http://www.0pdf.com
bios setup 30 MB941 users manual bios setup utility main advanced pcipnp boot security chipset exit general acpi configuration general acpi configuration setti ngs < - select screen select item + - change field tab select field f1 general help f10 save and exit esc exit suspend mode [s3 (str)] repost video on s3 resume [no] suspend mode the options of this field are s1 , s3 and auto . repost video on s3 resume the default setting is no . free datasheet http://www.0pdf.com
bios setup MB941 users manual 31 bios setup utility main advanced pcipnp boot security chipset exit apm configuration disable/enable ri to generate a wake event. < - select screen select item + - change fi eld tab select field f1 general help f10 save and exit esc exit power management/apm power button mode [disabled] [on/off] resume on ring disabled resume on pme# disabled resume on rtc alarm disabled resume on ring this opt ion is used to enable activity on the ri (ring in) modem line to wake up the system from a suspend or standby state. that is, the system will be awakened by an incoming call on a modem. resume on pme# this option is used enable activity on the pci pme (p ower managementevent) controller to wake up the system from a suspend or standby state resume on rtc alarm this option is used to specify the time the system should be awakened from a suspended state free datasheet http://www.0pdf.com
bios setup 32 MB941 users manual bios setup utility main advanced pcipnp boot secu rity chipset exit mps configuration select mps revision < - select screen select item + - change field tab select field f1 general help f10 save and exit esc exit mps revision vt - d [1.1] mps version control for os this option is specifies the mps (multiprocessor specification) version for your operating system. bios setup utility main advanced pcipnp boot security chipset exit smbios configuration smbios smi wrapper support for pnp func 50h - 54h < - select screen select item + - change field tab select field f1 general he lp f10 save and exit esc exit smbios smi support [enabled] smbios smi support use the smbios smi support to enable the system to support the smbios smi wrapper for the pnp function 50h C 54h. free datasheet http://www.0pdf.com
bios setup MB941 users manual 33 bios setup utility main advanced pcipnp boot security chipset exit usb configuration enables support for legacy usb. auto option disables legacy support if no usb devices are connected. < - select screen select item + - change field tab select field f1 general help f10 save and exit esc exit usb devices enabled: none legacy usb support [enabled] usb 2.0 controller mode [hispeed] bios ehci hand - off [enabled] t he usb configuration menu is used t o read usb configuration information and configure the usb settings. legacy usb support this option is used to enable the usb mouse and usb keyboard support. this option is enabled by default. usb 2.0 contr oller mode this option is used to control usb device in hispeed (480mbps) or fullspeed (12mbps).this option is enabled by hispeed. bios ehci hand - off this feature a llows you to enable support for operating system without ehci hand - off feature. free datasheet http://www.0pdf.com
bios setup 34 MB941 users manual pcipnp settings this option configures the pci /pnp settings . bios setup utility main advanced pcipnp boot security chipset exit advanced pci/pnp settings size of memory block to reserve for legacy isa devices. < - select screen select i tem + - change field tab select field f1 general help f10 save and exit esc exit warning: setting wrong values in below sections may cause system to malfunction. clear nvram [no] plug & play o/s [no] pci latency timer [64] allocate irq to pci vga [yes] palette snooping [disabled] pci ide busmaster off board pci?isa ide card [enabled] [auto] irq3 [available] irq4 [available] irq5 [available] irq7 [available] irq9 [available] irq10 irq11 irq 14 irq15 dma channel 0 dma channel 1 dma channel 3 dma channel 5 dma channel 6 dma channel 7 reserved memory size [available] [available] [available] [available] [available] [available] [available] [available] [available] [available] [disabled] cl ear nvram this item is used for clearing nvram during system b oot. plug & play o/s this lets bios configure all devices in the system or lets the os configure pnp devices not required for boot if your system has a plug and play os . pci l atency timer this item sets value in units of pci clocks for pci device latency timer register. options are: 32, 64, 96, 128, 160, 192, 224, 248 . free datasheet http://www.0pdf.com
bios setup MB941 users manual 35 allocate irq to pci vga this assigns irq to pci vga card if card requests irq or doesn't assign irq to pci vga card even if card requests an irq. palette snooping this informs the pci devices that an isa graphics device is installed in the system so the card will function correctly. pci ide busmaster this uses pci busmastering for bios reading / writing to i de de vices . offboard pci/isa ide card some pci ide cards may require this to be set to the pci slot number that is holding the card. irq# use the irq# address to specify what irqs can be assigned to a particular peripheral device . free datasheet http://www.0pdf.com
bios setup 36 MB941 users manual boot settings bios setup utility main advanced pcipnp boot security chipset exit boot settings configuration allows bios to skip certain tests while booting. this will decrease the time needed to boot the system. < - select screen select item + - change field tab select field f1 general help f10 save and exit esc exit quick boot [enabled] quiet boot [disabled] addon rom display mode [force bios] bootup num - lock [on] ps/2 mouse support [auto] wait for f1 if error [enabled] hit del message display interrupt 19 capture [enabled] [disabled] quick boot this allows bios to skp certain tests while booting. this will decrease the time needed to boot the system. quite boot when disabled, this displays normal post messages. when enabled, this displays oem logo instead of post messages. addon rom display mode this allows user to force bios/option rom of add - on cards to be displayed during quiet boot. bootup num - lock this select the power - on state for numlock. ps /2 mouse support this select support for ps/w mouse. wait for f1 if error when set to enabled, the system waits for the f1 key to be pressed when error occurs . this allows option rom to trap interrupt 19. hit message display this displays press to run setup in post. free datasheet http://www.0pdf.com
bios setup MB941 users manual 37 interrupt 19 capture this allows option rom to trap interrupt 19. free datasheet http://www.0pdf.com
bios setup 38 MB941 users manual security settings this setting comes with two options set the system password. supervisor password sets a password that will be used to protect the system a nd setup utility. user password sets a password that will be used exclusively on the system. to specify a password, highlight the type you want and press . the enter password: message prompts on the screen. type the password and press . the s ystem confirms your password by asking you to type it again. after setting a password, the screen automatically returns to the main screen. to disable a password, just press the key when you are prompted to enter the password. a message will confi rm the password to be disabled. once the password is disabled, the system will boot and you can enter setup freely. bios setup utility main advanced pcipnp boot security chipset exit security settings install or change the password. < - select scr een select item + - change field tab select field f1 general help f10 save and exit esc exit supervisor password : not installed user password : not installed change supervisor password change user password boot sector virus protection [disabled] free datasheet http://www.0pdf.com
bios setup MB941 users manual 39 advanced chipset settings this setting configures the north bridge, south bridge and the me subsystem. warning! setting the wrong values may cause the system to malfunction. - bios setup utility main advanced pcipnp boot security chipset exit advanc ed chipset settings configure north bridge features. < - select screen select item + - change field tab select field f1 general help f10 save and exit esc exit warning: setting wrong values in below sections may cause system to malfunction. ? north bridge configuration ? south bridge configuration bios setup utility main advanced pcipnp boot security chipset exit north bridge chipset configuration enable: allow remapping of overlapped pci memory above the total physical memory. disable: do not allow remapping of memory < - select screen select item + - change field tab select field f1 general help f10 save and exit esc exit memory remap feature [enabled] pci mmio allocation: 4gb to 3072mb dram frequency [auto] configure dram timing by spd [enabled] memory hole [disabled] initiate graphi cs adapter [peg/pci] igd graphics mode select [enabled, 32mb] igd gtt graphics memory size [no vt mode, 2mb] pavp mode [lite] peg port configuration peg port [auto] ? video function configuration memory remap feature this feature allows remapping of overlapped pci memory above the total physical memory. dram frequency this option is, by default, set to auto. free datasheet http://www.0pdf.com
bios setup 40 MB941 users manual configure dram timing by spd when this item is enab led, the dram timing parameters are set according to the dram spd (serial presence detect). when disabled, you can manually set the dram timing parameters through the dram sub - items. memory hole this option is used to reserve memory space between 15mb an d 16mb for isa expansion cards that require a specified area of memory to work properly. initiate graphic adapter this option, by default, is set to peg/pci. igd graphics mode select use the feature to set the amount of system memory to be used by the internal. graphics devices. expansion cards that require a specified area of memory to work properly. igd gtt graphics memory size this feature allows the user to select the igd gtt graphics size. the default setting is no vt mode, 2 mb pavp mode use the feature to select the protect audio video path mode . video function configuration the configuration allows setting to dvmt/fixed memory. main advanced pcipnp boot security chipset exit video function configuration dvmt mode < - select screen select item + - change field tab select field f1 general help f10 save and exit esc exit dvmt mode select [dvmt mode] dvmt/fixed memory [256mb] free datasheet http://www.0pdf.com
bios setup MB941 users manual 41 free datasheet http://www.0pdf.com
bios setup 42 MB941 users manual bios setup utility main advanced pcipnp boot security chipset exit south bridge chips et configuration disabled 2 usb ports 4 usb ports 6 usb ports < - select screen select item + - change field tab select field f1 general help f10 save and exit esc exit usb function [6 usb ports] usb 2.0 controller [disabled] audio controller [auto] smbus controller [enabled] slp_s4# min. assertion width [4 to 5 seconds] enabled onboard pci option rom [disabled] usb function this option enables the number of usb ports desired or disables the usb function. us b 2.0 controller this option is disabled by default. audio controller this option is used to enable the southbridge high definition audio controller. free datasheet http://www.0pdf.com
bios setup MB941 users manual 43 exit setup th e exit setup has the following settings which are: bios setup utility main adva nced pcipnp boot security chipset exit exit options exit system setup after saving the changes. < - select screen select item + - change field tab select field f1 general help f10 save and exit esc exit save changes and exit discard changes and exit discard changes load optimal defaults load failsafe defaults save changes and exit this option allows you to determine whether or not to accept the modifications and save all changes into the cmos memory before exit. discard changes and exit t his option allows you to exit the setup utility without saving the changes you have made in this session. discard changes this option allows you to discard all the changes that you have made in this session. load optimal defaults this option allows you to load the default values to your system configuration. these default settings are optimal and enable all high performance features. load fail s afe defaults this option allows you to load the troubleshooting default values permanently stored in the bios r om. these default settings are non - optimal and disable all high - performance features. free datasheet http://www.0pdf.com
drivers installation 44 MB941 users manual drivers installation this section describes the installation procedures for software and drivers under the windows xp and windows vista . the software and drivers are in cluded with the motherboard . if you find the items missing, please contact the vendor where you made the purchase. the contents of this section include the following: intel chipset software installation utility ................................ ........... 45 intel g41 ch ipset family graphics driver installation ........................ 48 realtek high definition audio driver installation .............................. 51 realtek lan controller drivers installation ................................ ...... 53 important note: afte r installing your windows operating system (windows xp / vista ), you must install first the intel chipset software installation utility before proceeding with the drivers installation. free datasheet http://www.0pdf.com
drivers installation MB941 users manual 45 intel chipset software installation utility the intel chipset drivers should be installed first before the software drivers to enable plug & play i n f support for intel chipset components. follow the instructions below to complete the installation under windows xp / vista . 1. insert the cd that comes with the board . click in tel a t the left side, then intel(r) g41 chipset drivers . 2. click intel(r) chipset software installation utility . free datasheet http://www.0pdf.com
drivers installation 46 MB941 users manual 3. when the w elcome screen to the intel(r) chipset software installation utility appears, click next to continue. 4. click yes to accept the software license agreement and proceed with the installation process. free datasheet http://www.0pdf.com
drivers installation MB941 users manual 47 5. on readme information screen, click next to continue the installation. 6. the setup process is now complete. click finish to restart the computer and for change s to take effect. free datasheet http://www.0pdf.com
drivers installation 48 MB941 users manual intel g41 chipset family graphics driver installation to install the vga d river s, f ollow the steps below to proceed with the installation. 1. insert the cd that comes with the board . click intel a t the left side, then intel(r) g 41 chipset drivers . 2. click intel g41 chipset family graphics driver . free datasheet http://www.0pdf.com
drivers installation MB941 users manual 49 3. when the w elcome screen of the intel(r) graphics media accelerator driver appears, click next to continue. 4 . c lick yes to to agree with the license agreement and contin ue the installation . free datasheet http://www.0pdf.com
drivers installation 50 MB941 users manual 5. c lick next in the readme file information window. 6. c lick next in the setup progress window. 7. setup is now complete. c lick finish to restart the computer and for changes to take effect. free datasheet http://www.0pdf.com
drivers installation MB941 users manual 51 realtek high definition audio driver installation follow the steps below to install the realtek hd codec audio drivers. 1. insert the cd that comes with the board . click intel and then intel(r) g41 chipset drivers . 2. click realtek high definition audio driver . free datasheet http://www.0pdf.com
drivers installation 52 MB941 users manual 3.when the welcome sc reen to installshield wizard for realtek high definition audio driver appears, click next to start the installation. 4.when the installshieldwizard has finished performing maintenance operations on realtek high definition codec audio audio driver , click finish to restart the computer. free datasheet http://www.0pdf.com
drivers installation MB941 users manual 53 realtek lan controller driver s installation follow the steps below to install the realtek lan drivers. 1. insert the cd that comes with the board . click intel , then lan card, and then realtek lan controller drivers . 2. click realtek rtl8111e lan driver s. free datasheet http://www.0pdf.com
drivers installation 54 MB941 users manual 3.when the welcome screen to installshield wizard appears, click next to start the installation. 4.when the installshieldwizard has finished installing the realtek lan drivers, click finish . free datasheet http://www.0pdf.com
appendix MB941 users manual 55 appendix a. i/o port address map each peripheral device in the system is assigned a set of i/o port addresses that also becomes the identity of the device. the following table lists the i/o port addresses used. address device description 000h - 01fh dma contr oller #1 020h - 03fh interrupt controller #1 040h - 05fh timer 060h - 06fh keyboard controller 070h - 07fh real time clock, nmi 080h - 09fh dma page register 0a0h - 0bfh interrupt controller #2 0c0h - 0dfh dma controller #2 0f0h clear math coproces sor busy signal 0f1h reset math coprocessor 1f0h - 1f7h ide interface 278 h - 27f h parallel port #2(lpt2) 2f8h - 2ffh serial port #2(com2) 2b0 h - 2df h graphics adapter controller 378h - 3ffh parallel port #1(lpt1) 360 h - 36f h network ports 3b0 h - 3b f h monochrome & printer adapter 3c0 h - 3cf h ega adapter 3d0 h - 3df h cga adapter 3f0h - 3f7h floppy disk controller 3f8h - 3ffh serial port #1(com1) free datasheet http://www.0pdf.com
appendix 56 MB941 users manual b. interrupt request lines (irq) peripheral devices use interrupt request lines to notify cpu for th e service required. the following table shows the irq used by the devices on board. level function irq0 system timer output irq1 keyboard irq2 interrupt cascade irq3 serial port #2 irq4 serial port #1 irq5 reserved irq6 reserved irq7 parallel por t #1 irq8 real time clock irq9 reserved irq10 serial port # 4 irq11 serial port # 3 irq12 ps/2 mouse irq13 80287 irq14 primary ide free datasheet http://www.0pdf.com
appendix MB941 users manual 57 c. watchdog timer configuration the wdt is used to generate a variety of output signals after a user programmable count. the wdt is suitable for use in the prevention of system lock - up, such as when software becomes trapped in a deadlock. under these sort s of circumstances, the timer will count to zero and the selected outputs will be driven. under normal circumstanc e, the user will restart the wdt at regular intervals before the timer counts to zero. sample code: file of the w627uhg. cpp // --------------------------------------------------------------------------- // // this code and information is provided "as is" without warranty of any // kind, either expressed or implied, including but not limited to the // implied warranties of merchantability and/or fitness for a particular // purpose. // // ----------------------------------------------------------------------- ---- #include "w627uhg.h" #include // --------------------------------------------------------------------------- unsigned int w627uhg_base; void unlock_w627uhg (void); void lock_w627uhg (void); // ---------------------------------------------------- ----------------------- unsigned int init_w627uhg(void) { unsigned int result; unsigned char ucdid; w627uhg_base = 0x4e; result = w627uhg_base; ucdid = get_w627uhg_reg(0x20); if (ucdid == 0xa2) //w83627uhg?? { goto init_finish; } w627uhg_ba se = 0x2e; result = w627uhg_base; ucdid = get_w627uhg_reg(0x20); if (ucdid == 0xa2) //w83627uhg?? { goto init_finish; } w627uhg_base = 0x00; result = w627uhg_base; init_finish: return (result); } // ------------------------------------------- -------------------------------- void unlock_w627uhg (void) free datasheet http://www.0pdf.com
appendix 58 MB941 users manual { outportb(w627uhg_index_port, w627uhg_unlock); outportb(w627uhg_index_port, w627uhg_unlock); } // --------------------------------------------------------------------------- void lock_w627uhg (void) { outportb(w627uhg_index_port, w627uhg_lock); } // --------------------------------------------------------------------------- void set_w627uhg_ld( unsigned char ld) { unlock_w627uhg(); outportb(w627uhg_index_port, w627uhg_reg_ld); outportb(w627u hg_data_port, ld); lock_w627uhg(); } // --------------------------------------------------------------------------- void set_w627uhg_reg( unsigned char reg, unsigned char data) { unlock_w627uhg(); outportb(w627uhg_index_port, reg); outportb(w627uhg_data _port, data); lock_w627uhg(); } // --------------------------------------------------------------------------- unsigned char get_w627uhg_reg(unsigned char reg) { unsigned char result; unlock_w627uhg(); outportb(w627uhg_index_port, reg); result = inport b(w627uhg_data_port); lock_w627uhg(); return result; } // --------------------------------------------------------------------------- free datasheet http://www.0pdf.com
appendix MB941 users manual 59 file of the w627uhg.h // --------------------------------------------------------------------------- // // this code and information is provided "as is" without warranty of any // kind, either expressed or implied, including but not limited to the // implied warranties of merchantability a nd/or fitness for a particular // purpose. // // ----------------------------------------------------------------- ---------- #ifndef __w627uhg_h #define __w627uhg_h 1 // --------------------------------------------------------------------------- #define w627uhg_index_port (w627uhg_base) #define w627uhg_data_port (w627uhg_base+1) // ---------------------------------- ----------------------------------------- #define w627uhg_reg_ld 0x07 // --------------------------------------------------------------------------- #define w627uhg_unlock 0x87 #define w627uhg_lock 0xaa // ---------------------------------------------- ----------------------------- unsigned int init_w627uhg(void); void set_w627uhg_ld( unsigned char); void set_w627uhg_reg( unsigned char, unsigned char); unsigned char get_w627uhg_reg( unsigned char); // ------------------------------------------------------ --------------------- #endif //__w627uhg_h free datasheet http://www.0pdf.com
appendix 60 MB941 users manual file of the m ain . cpp // --------------------------------------------------------------------------- // // this code and information is provided "as is" without warranty of any // kind, either expressed or implied, including but not limited to the // implied warranties of merchantability and/or fitness for a particular // purpose. // // --------------------------------------------------------------------------- #include #include #include #include #inclu de "w627uhg.h" // --------------------------------------------------------------------------- int main (void); void wdtinitial(void); void wdtenable(unsigned char); void wdtdisable(void); // ----------------------------------------------------------------- ---------- int main (void) { char sio; sio = init_w627uhg(); if (sio == 0) { ................................ .............. printf("can not detect winbond 83627uhg, program abort. \ n"); ................................ ................................ ................................ ................................ ... return(1); } wdtinitial(); wdtenable(10); wdtdisable(); return 0; } // ------------------------------ --------------------------------------------- void wdtinitial(void) { unsigned char bbuf; set_w627uhg_ld(0x08); ................................ ................................ . //switch to logic device 8 bbuf = get_w627uhg_reg(0x30); bbuf &= (~0x01); set_w627uhg_reg(0x30, bbuf); ................................ ................................ ... //enable wdto } // ------------------ --------------------------------------------------------- void wdtenable(unsigned char newinterval) { unsigned char bbuf; set_w627uhg_ld(0x08); ................................ ................................ ................................ ........ //switch to logic device 8 set_w627uhg_reg(0x30, 0x01); ................................ ................................ ....... //enable timer free datasheet http://www.0pdf.com
appendix MB941 users manual 61 bbuf = get_w627uhg_reg(0xf5); bbuf &= (~0x08); set_w627uhg_reg(0xf5, bbuf); ................................ ......................... //count mode is second set_w627uhg_reg(0xf6, newinterval); ................................ ................................ . //set timer } // --------------------------------------------------------------------------- void wdtdisable(void) { set_w627uhg_ld(0x08); ................................ ................................ ................................ ........ // switch to logic device 8 set_w627uhg_reg(0xf6, 0x00); ................................ .......................... //clear watchdog timer set_w627uhg_reg(0x30, 0x00); ................................ ................................ ............................. //watchdog disabled } // --------------------------------------------------------------------------- free datasheet http://www.0pdf.com
appendix 62 MB941 users manual d. digital i/o sample code file of the w627uhg.h // --------------------------------------------------------------------------- // // this code and information is provided "as is" without warranty of any // kin d, either expressed or implied, including but not limited to the // implied warranties of merchantability and/or fitness for a particular // purpose. // // --------------------------------------------------------------------------- #ifndef __w627uhg_h #define __w627uhg_h 1 // --------------------------------------------------------------------------- #define w6 27uhg_index_port (w627uhg_base) #define w627uhg_data_port (w627uhg_base+1) // --------------------------------------------------------------------------- #define w627uhg_reg_ld 0x07 // --------------------------------------------------------------------- ------ #define w627uhg_unlock 0x87 #define w627uhg_lock 0xaa // --------------------------------------------------------------------------- unsigned int init_w627uhg(void); void set_w627uhg_ld( unsigned char); void set_w627uhg_reg( unsigned char, unsign ed char); unsigned char get_w627uhg_reg( unsigned char); // --------------------------------------------------------------------------- #endif //__w627uhg_h free datasheet http://www.0pdf.com
appendix MB941 users manual 63 file of the w627uhg.cpp // ------------------------------------------------------------------------ --- // // this code and information is provided "as is" without warranty of any // kind, either expressed or implied, including but not limited to the // implied warranties of merchantability and/or fitness for a particular // purpose. // // --------------- ------------------------------------------------------------ #include "w627uhg.h" #include // --------------------------------------------------------------------------- unsigned int w627uhg_base; void unlock_w627uhg (void); void lock_w627uhg (void) ; // --------------------------------------------------------------------------- unsigned int init_w627uhg(void) { unsigned int result; unsigned char ucdid; w627uhg_base = 0x4e; result = w627uhg_base; ucdid = get_w627uhg_reg(0x20); if (ucdid == 0xa2 ) //w83627uhg?? { goto init_finish; } w627uhg_base = 0x2e; result = w627uhg_base; ucdid = get_w627uhg_reg(0x20); if (ucdid == 0xa2) //w83627uhg?? { goto init_finish; } w627uhg_base = 0x00; result = w627uhg_base; init_finish: return ( result); } // --------------------------------------------------------------------------- void unlock_w627uhg (void) { outportb(w627uhg_index_port, w627uhg_unlock); outportb(w627uhg_index_port, w627uhg_unlock); } // ---------------------------------------- ----------------------------------- void lock_w627uhg (void) { outportb(w627uhg_index_port, w627uhg_lock); } // --------------------------------------------------------------------------- void set_w627uhg_ld( unsigned char ld) free datasheet http://www.0pdf.com
appendix 64 MB941 users manual { unlock_w627uhg(); outpo rtb(w627uhg_index_port, w627uhg_reg_ld); outportb(w627uhg_data_port, ld); lock_w627uhg(); } // --------------------------------------------------------------------------- void set_w627uhg_reg( unsigned char reg, unsigned char data) { unlock_w627uhg(); o utportb(w627uhg_index_port, reg); outportb(w627uhg_data_port, data); lock_w627uhg(); } // --------------------------------------------------------------------------- unsigned char get_w627uhg_reg(unsigned char reg) { unsigned char result; unlock_w627uhg (); outportb(w627uhg_index_port, reg); result = inportb(w627uhg_data_port); lock_w627uhg(); return result; } // --------------------------------------------------------------------------- free datasheet http://www.0pdf.com
appendix MB941 users manual 65 file of the main.cpp // ---------------------------------------- ----------------------------------- // // this code and information is provided "as is" without warranty of any // kind, either expressed or implied, including but not limited to the // implied warranties of merchantability and/or fitness for a particular // purpose. // // ------------ --------------------------------------------------------------- #include #include #include #include #include "w627uhg.h" // --------------------------------------------------------------------------- int main (void); void dio5initial(void); void dio5setoutput(unsigned char); unsigned char dio5getinput(void); void dio5setdirection(unsigned char); unsigned char dio5getdirection(void); // --------------------------------------------------------------------------- int main (void) { char sio; sio = init_w627uhg(); if (sio == 0) { printf("can not detect winbond 83627uhg, program abort. \ n"); return(1); } dio5initial(); //for gpio50..57 dio5setdirection(0x0f); //gp50..53 = input, gp54..57=output printf("current d io direction = 0x%x \ n", dio5getdirection()); printf("current dio status = 0x%x \ n", dio5getinput()); printf("set dio output to high \ n"); dio5setoutput(0x0f); printf("set dio output to low \ n"); dio5setoutput(0x00); return 0; free datasheet http://www.0pdf.com
appendix 66 MB941 users manual } // ----------------- ---------------------------------------------------------- void dio5initial(void) { unsigned char ucbuf; set_w627uhg_ld(0x08); //switch to logic device 8 //enable the gp5 group ucbuf = get_w627uhg_reg(0x30); ucbuf |= 0x02; set_w627uhg_reg(0x30 , ucbuf); } // --------------------------------------------------------------------------- void dio5setoutput(unsigned char newdata) { set_w627uhg_ld(0x08); //switch to logic device 8 set_w627uhg_reg(0xe1, newdata); } // ------------------------------ --------------------------------------------- unsigned char dio5getinput(void) { unsigned char result; set_w627uhg_ld(0x08); //switch to logic device 8 result = get_w627uhg_reg(0xe1); return (result); } // ---------------------------------------- ----------------------------------- void dio5setdirection(unsigned char newdata) { //newdata : 1 for input, 0 for output set_w627uhg_ld(0x08); //switch to logic device 8 set_w627uhg_reg(0xe0, newdata); } // ------------------------------------------ --------------------------------- unsigned char dio5getdirection(void) { unsigned char result; set_w627uhg_ld(0x08); //switch to logic device 8 result = get_w627uhg_reg(0xe0); return (result); } // ------------------------------------------------- -------------------------- free datasheet http://www.0pdf.com


▲Up To Search▲   

 
Price & Availability of MB941

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X